home *** CD-ROM | disk | FTP | other *** search
/ Amiga Format CD 38 / Amiga Format CD38 (1999-03-15)(Future Publishing)(GB)(Track 1 of 3)[!][issue 1999-04].iso / -screenplay- / shareware / hammytown / 11.room < prev    next >
Text File  |  1999-02-08  |  4KB  |  131 lines

  1. /*  This is a room file for GRAAL
  2. /*
  3. /*  11.room - House 2
  4. /*  RF 1=0 first visit
  5. /*  RF 2=1 radio taken from safe.
  6.  
  7. UPDATE: 3;1
  8.  
  9. SECTION: 1
  10.  
  11. /* BG_IFF: filename
  12. /*
  13. /*   This is the backdrop file for the room
  14. /*
  15. BG_IFF: 9BG.IFF
  16.  
  17. /* START_POS: sposno;bobimage;x;y;camera;floor
  18. /*
  19. /*   (This statement must follow after the BG_IFF: statement.)
  20. /*
  21. /* 1->Village, 2->Garden
  22. START_POS: 1;13;6;104;L;1
  23. START_POS: 2;11;256;77;M;1
  24.  
  25. FLOOR: 1;0;72;319;120;1-1
  26.  
  27. /* EXIT: no;x1;y1;x2;y2;epointx;epointy;description
  28. /*
  29. EXIT: 1;0;57;21;120;6;109;Village
  30. EXIT: 2;242;16;271;70;255;76;Garden
  31.  
  32. /* CLPART: filename
  33. /*
  34. CLPART: 10FG.IFF
  35.  
  36. /* ROOMBOBS: no_of_imgs;startrbob;grabx;graby;width;height;xoffset;hotsp
  37. /*
  38. /* 1 is the Amiga Advertising Pic!
  39. ROOMBOBS: 1;1;177;1;36;52;20;0
  40. /* 2 is the s8fe.
  41. ROOMBOBS: 1;2;230;21;31;32;0; 
  42.  
  43. /* ROOMOBJ: roomobjno,object_definition.... (see graal.main documentation)
  44. /*
  45. ROOMOBJ: 1;Amiga Advert;11;VIS;51;RBOB1;215;66;-30;3;14; ;NPICK; ;8; ;MID; ;a;it; 
  46. ROOMOBJ: 2;Safe;11;VIS;52;RBOB2;147;69;-22;6;14; ;NPICK; ;8; ;MID;T;a;this;it
  47.  
  48.  
  49. /* DACT: condition;...;action;...
  50. /*
  51. /* Light up scene
  52. DACT: TRACK MUSIC.05.MOD,LOOP,NOFILTER;LIGHTS ON
  53. DACT: IFRF 1=0;SAY Funny, this room looks exactly like the one in the other house.;SAY Either this is a council house...;SAY ...or the programmer couldn't be bothered to draw another screen!;SETRF 1=1;EXIT
  54.  
  55. /* Room actions follow below ***
  56. /*
  57. /* ACTION: verbno;condition;...;command;...
  58.  
  59. /*
  60. /* Action 0 - Exit
  61. /* ===============
  62. /*
  63. ACTION: 0;IFOBJ 1;MEXIT;GOTO 8,2
  64. ACTION: 0;IFOBJ 2;MEXIT;GOTO 22,1;EXIT
  65.  
  66. /* Action 1 - Give
  67. /* ===============
  68. /*
  69. /* Action 2- Pick up
  70. /* =================
  71. /*
  72.  
  73. ACTION: 2;IFOBJ ROBJ1;SAY I don't really want to carry that around with me!;EXIT
  74. ACTION: 2;IFOBJ ROBJ2;SAY Yeah, right, just rip it out of the wall!;EXIT
  75.  
  76. /*
  77. /* Action 3 - Use
  78. /* ==============
  79. /*
  80.  
  81. ACTION: 3;IFOBJ ROBJ1;MOBJ;SAY It's a neat picture, but I don't think it will be useful for anything.;EXIT
  82. ACTION: 3;IFOBJ 17;IFOBJ2 ROBJ2;IFRF 2=0;SAY I doubt it will work, but OK...;MOBJ ROBJ2;HANDLE ROBJ2;W 25;HANDLE -1;SAY Well, that was a total waste of time.;EXIT
  83. ACTION: 3;IFTYPE X;IFOBJ2 ROBJ2;IFRF 2=0;SAY There is no way that is going to get it open!;EXIT
  84.  
  85. /* This gets the radio out of the safe.
  86. ACTION: 3;IFOBJ 32;IFOBJ2 ROBJ2;IFRF 2=0;SAY Okay, let's see if it fits!;MOBJ ROBJ2;HANDLE ROBJ2;W 50;HANDLE -1;SAY Well, it opened. There is a strange looking radio in here.;SAY I'll take it.;SETRF 2=1;REMOVE 32,N,0;GET 33,U;EXIT
  87.  
  88. /*
  89. /* Action 4 - Open
  90. /* ===============
  91. /*
  92. ACTION: 4;IFOBJ ROBJ2;IFRF 2=0;MOBJ;SAY It won't open, it is locked.
  93. ACTION: 4;IFOBJ ROBJ2;IFRF 2=0;IFCARR 32;SAY Here is a little hint for you.;SAY Firstly, you are carrying a key.;SAY Secondly, the safe has a lock on the front of it.;SAY Finally, using one on the other should produce the desired result.
  94. ACTION: 4;IFOBJ ROBJ2;IFRF 2=0;EXIT
  95. ACTION: 4;IFOBJ ROBJ2;MOBJ;SAY It's empty.;EXIT
  96.  
  97.  
  98.  
  99. /* Action 5 - Talk to
  100. /* ==================
  101. /*
  102.  
  103. /*
  104. /* Action 6 - Push
  105. /* ===============
  106. /*
  107. ACTION: 6;IFOBJ ROBJ2;IFRF 2=0;MOBJ;HANDLE;W 25;HANDLE -1;SAY You aren't going to open it just by doing that!;EXIT
  108.  
  109. /*
  110. /* Action 7 - Close
  111. /* ================
  112.  
  113.  
  114. /*
  115. /* Action 8 - Look at
  116. /* ==================
  117. /*
  118. ACTION: 8;MOBJ
  119. ACTION: 8;IFOBJ ROBJ1;SAY "To be this good will take Sega Ages.";SAY It's the last time Commodore did any advertising.;SAY 1993, wasn't it?;EXIT
  120. ACTION: 8;IFOBJ ROBJ2;IFRF 2=0;SAY It's a safe. It's locked.;EXIT
  121. ACTION: 8;IFOBJ ROBJ2;IFRF 2=1;SAY It's a safe. It's unlocked, but it's empty.;EXIT
  122.  
  123.  
  124. /*
  125. /* Action 9 - Pull
  126. /* ===============
  127. /*
  128. ACTION: 9;IFOBJ ROBJ1|ROBJ2;VERB 6;REDO
  129.  
  130. /* End of room file. Some comments must be here!
  131.